//
//  DDLoginViewController.h
//  PrivateCloud
//
//  Created by sarah doo on 13-10-13.
//  Copyright (c) 2013年 sarah doo. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DDConnectCompleteCallback.h"
#import "MBProgressHUD.h"
#import "GCDAsyncUdpSocket.h"
@interface DDLoginViewController : UIViewController<UITableViewDataSource, UITableViewDelegate, UITextFieldDelegate,DDConnectCompleteCallback,MBProgressHUDDelegate,GCDAsyncUdpSocketDelegate,UITextFieldDelegate> {
    UILabel *searchLabel;
    UITableView *table;
    UIView *coverView;
    UIView *alertView;
    BOOL isRemeber;
    
    MBProgressHUD* hub;
    
}

@property (nonatomic, assign)BOOL isSuccess;

@property (nonatomic, retain)NSMutableArray *searchResults;

@property (nonatomic, retain) GCDAsyncUdpSocket *udpSocket;

@property (nonatomic, retain) NSMutableArray *cloudInfos;

@property (nonatomic, assign) int curPos;

@property (nonatomic, assign) NSString* curPwd;
//搜索标示符
@property (nonatomic, assign) BOOL isSearch;

@property (nonatomic, retain) UIImageView* imageView1;

@property (nonatomic, assign) BOOL hasSearchResult;
- (void)searchFail;

- (void)serverClosed;
@end
